doctype html
html
    head
        title= title
        -
            var prefix = '';
            if(process.env.NODE_ENV === 'development') {
                prefix = 'http://localhost:8080';
            }

        link(rel = 'stylesheet', href = prefix + "/stylesheets/bundle.css")
        script(src = prefix + '/bundle.js')
    body
        #wrap
            .container
                h1.page-header= appTitle
                p.lead 欢迎使用由Express和MongoDB搭建的blog系统。
                block page
                block header
                    div
                        include includes/menu.jade
                block alert
                    div.alert.alert-warning.hidden
                .content
                    block content
                block footer
                    footer
                        .container
                            p
                                | Copyright &copy; 2016
